PremiumAddons\Widgets\Premium_Weather D

Total Complexity 239
Dependencies 14
Dependents 0
Total lines 4,787
Lines of code 4,062
Logical lines of code 727
Comment lines 220
Methods 41
Properties 2

Methods 41

Method Rating Maintainability Complexity Lines of code
render_weather_layout()
D
18
66 216
add_tabs_style()
C
18
2 511
render()
C
31 25 113
add_display_options_section()
C
19
1 452
add_forecast_style()
C
20
2 429
render_forecast_tabs_content()
B
37 21 87
add_current_weather_style()
B
22
2 348
add_hourly_style()
B
23
2 337
add_navigation_style()
B
23
1 346
render_extra_weather()
B
42 18 52
render_hourly_forecast()
B
39 16 67
get_custom_icons()
B
34 14 95
render_forecast_days()
A
42 10 57
add_general_section_controls()
A
28
2 169
add_custom_icons_section()
A
35 4 110
render_tabs_hourly_forecast()
A
44 8 47
add_hourly_forecast_section()
A
33 1 139
render_custom_icon()
A
46 7 39
render_weather_icon()
S
48 5 32
add_city_style()
S
38 1 90
render_forecast_tabs_headers()
S
54 5 20
add_extra_weather_style()
S
40 1 78
add_outer_container_style()
S
45 1 54
add_daily_forecast_section()
S
48 2 35
get_weather_icon_code()
S
64 4 8
add_helpful_info_section()
S
52 2 26
get_script_depends()
S
60 2 16
register_controls()
S
53 1 25
get_name()
S
82 1 3
get_icon()
S
82 1 3
extract_forecast_dates()
S
71 1 5
get_title()
S
79 1 3
render_forecast_tabs()
S
68 1 10
get_style_depends()
S
71 1 7
get_keywords()
S
78 1 3
get_categories()
S
81 1 3
is_reload_preview_required()
S
82 1 3
get_custom_help_url()
S
82 1 3
register_content_tab_controls()
S
69 1 8
register_style_tab_controls()
S
67 1 9
check_icon_draw()
S
76 1 4